package com.zrrd.yt.order.client;

import com.zrrd.yt.common.result.Result;
import com.zrrd.yt.order.client.impl.OrderFeignClientImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

@FeignClient(value = "service-order",fallback = OrderFeignClientImpl.class)
public interface OrderFeignClient {

    //订单结算
    @GetMapping("/api/order/auth/trade")
    public Result<Map> trade();
}
